Repository navigation
fix issue #333 - Orchestration creation fails for UTF-8 input below 8,000 characters but above 8,000 bytes - #334
Merged
Conversation
Contributor
Author
|
andystaples sophiatev could you please take a look at this one? Thank you. |
sophiatev
reviewed
Nov 9, 2026
sophiatev
approved these changes
Nov 9, 2026
Usein Mambediiev (usemam)
added a commit
to usemam/durabletask-mssql
that referenced
this pull request
Nov 10, 2026
…t below 8,000 characters but above 8,000 bytes (microsoft#334) * fix issue microsoft#333 * address review comment
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #333
Text parameters without an explicit size are sized by character count in SqlClient (dotnet/SqlClient#2035). A UTF-8 value of 8,000 characters or fewer but over 8,000 bytes is sent as
varchar(n)and rejected by the server.This sets
size: -1(max) on@InputText,@CustomStatusPayload,@DedupeStatusesand both@Reasonparameters (terminate and rewind). All of them are alreadyvarchar(MAX)in the stored procedures.Adds regression tests for input, custom status, terminate reason and rewind reason.